<template>
<div>
  我是Search页面   <br>
  {{$route.params.keyword}} <br>
  {{$route.query.q}}   <br>

  通过route来传递
  {{keyword}}  <br>
  {{q}}



  {{a}}{{b}}
</div>
</template>

<script>
export default {
  name: "index",
  props:['keyword','a','b','q'],
}
</script>

<style scoped>

</style>